home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 February
/
EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso
/
earcd
/
util4
/
cmpdirs.lha
/
CmpDirs
/
CmpDirs.doc
< prev
next >
Wrap
Text File
|
1995-10-29
|
3KB
|
78 lines
NAME
CmpDirs - list equal files of two directories
SYNOPSIS
CmpDirs DIR1/A,DIR2/A,ALL/S,NOXPK/S
FUNCTION
CmpDirs scans the two specified directories and will list all files of
the two directories which have equal contents. If you have installed
xpkmaster.library V2 or higher then files are compared after xpk
decompression.
INPUTS
DIR1/A (required) - valid AmigaDOS path specification to a directory.
DIR2/A (required) - valid AmigaDOS path specification to a directory.
May be the same as DIR1.
ALL/S (optional) - DIR1 and DIR2 will be scanned recursively if this
keyword is specified.
NOXPK/S (optional) - files are not checked for xpk compression. This
speeds up scanning the directories significantly.
If you do not have installed xpkmaster.library
this option is automatically active.
OUTPUTS
A list of pairs of filenames (with full path). Each two filenames in
one line refer to files which have exactly the same contents (after xpk
decompression if one or both of the files are xpk compressed, unless
NOXPK was specified or you do not have installed xpkmaster.library).
Files which do not only have the same contents but _are_ indeed the
same file will not be listed. Therefor CmpDirs is still useful if DIR1
and DIR2 are the same directory or one is a subdirectory of the other.
BUGS
Not a real bug, but some people might find it anoying: If DIR1 and DIR2
represent the same directory or one is a subdirectory of the other and
there are equal files in the (sub)directory then each equal file will
be listed twice (e. g. if file A and file B are equal you will get a
message that file A is equal to file B and another message that file B
is equal to file A).
I will not remove this behaviour because it may be useful for
automatic processing of the output of CmpDirs.
NOTES
CmpDirs may be made resident. xpkmaster.library (as already stated
above) needs _not_ to be installed on your system.
DISCLAIMER
Copyright (c) 1995 by Christian Rattei.
Use CmpDirs at your own risk. I, the author, cannot be made responsible
for any damage that is directly or indirectly caused by the use of
CmpDirs.
CmpDirs is freeware. It may be copied freely. Please only spread the
original archive. No files may be added to or removed from the archive,
neither may any files of the archive be modified in any way (the only
exception to this is re-packing or re-archiving the whole archive)!
This archive may be uploaded to Bulletin Board Systems and FTP servers.
It may also be included in Public-Domain collections.
CREDITS
CmpDirs is based on CompDir by Peter Kunath but was totally rewritten
from scratch. CmpDirs does some more checks, has a more detailed error
handling and uses some less memory which gets quite noticable if you
scan whole volumes.
HISTORY
V1.1 (29.10.1995) - first public release.
AUTHOR
Christian Rattei
Wankstraße 10
82362 Weilheim
Germany
e-mail: rattei@informatik.tu-muenchen.de